/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.hutech09.jsale.bsn;

import java.util.List;
import javax.ejb.Local;
import org.hutech09.jsale.entity.Customer;
import org.hutech09.jsale.entity.OrderDetail;
import org.hutech09.jsale.entity.POrder;

/**
 *
 * @author Nam
 */
@Local
public interface IOrderManager {
    public POrder createOrder(POrder order);
    
    public OrderDetail createOrderDetail(OrderDetail od);
    
    public List<OrderDetail> getOrderDetail(POrder order);
    
    public List<POrder> getOrders(Customer customer);
}
